﻿using System.ComponentModel;
using System.Windows.Forms;
using System.Collections.Generic;
using System.Drawing.Design;

namespace SampleControls {
    [Designer(typeof(ContentSerializationWithSmartTagDesigner))]
    public partial class ContentSerializationWithSmartTag : UserControl {
        public ContentSerializationWithSmartTag() {
            InitializeComponent();
        }


        private IRelatedEndDescription[] _relatedEndDescriptions = new RelatedEndDescription[] { null };
        [Category("Data")]
        [Description("RelatedEnd Descriptions")]
        [DesignerSerializationVisibility(DesignerSerializationVisibility.Content)]
        [Browsable(false)]
        //[Editor(typeof(ContentSerializationWithSmartTagEditor), typeof(UITypeEditor))]
        public IRelatedEndDescription[] RelatedEndDescriptions {
            get { return _relatedEndDescriptions; }
            set { _relatedEndDescriptions = value; }
        }
    }
}
